package com.mf.entity.req.search;

import com.mf.entity.req.publicReq.ReqPublicPaging;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;
    import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDate;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 *  排程查询条件
 * 
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SearchReqSchedule extends ReqPublicPaging implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "关键值")
    private String key;

                                        @Schema(description = "排程标识")
                        private String flag;
                            @Schema(description = "工序")
                        private String process;
                            @Schema(description = "线体")
                        private String line;
                            @Schema(description = "开始时间")
                        private LocalDateTime startTime;
                            @Schema(description = "结束时间")
                        private LocalDateTime endTime;
                            @Schema(description = "前置时间")
                        private Integer beforeMinute;
                            @Schema(description = "前置时间备注")
                        private String beforeRemark;
                            @Schema(description = "后置时间")
                        private Integer laterMinute;
                            @Schema(description = "后置时间备注")
                        private String laterMinuteRemark;
                            @Schema(description = "关联排程的id")
                        private Integer pid;
                            @Schema(description = "排程类型；0-返工；1-正常生产；20-设备维修；22-设备带着故障生产；24-设备带故障返工")
                        private Integer type;
                                                @Schema(description = "1-排程可修改；0-不可修改；每日会确定前一日排程有无问题，确定后历史排程就不可修改了")
                        private Integer status;
                                                    }
